<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>Document</title>
		<style>
			.box {
				color: red;
			}

			.box2 {
				color: red;
				/* font-size: 32px */
				font-size: 2em;
				border: 2px solid red;
			}
			p {
				/* font-size: 64px ? 还是32px */
				/* 继承仅仅只继承计算值,而不会继承设置值 */
				font-size: 2em;
				border: inherit;
			}
		</style>
	</head>
	<body>
		<div class="box">
			<p>Lorem, ipsum.</p>
			<p>Lorem ipsum dolor sit.</p>
			<span>Lorem ipsum dolor sit amet.</span>
		</div>

		<div class="box2">
			box本身的元素
			<p>我是p元素</p>
		</div>
	</body>
</html>
